package cn.teduymdj.jxc.pojo.dto;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
@Data
public class UnitAddNewDTO implements Serializable {
    //validation注解不允许为空,不允许为空字符串,不允许为空白
    @NotNull
    @NotEmpty
    @NotBlank
    private String name;

    private Integer enable;



}
